﻿using System.Collections.Generic;

namespace XCI.Core
{
    public class TreeNodeDnd
    {
        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 父节点
        /// </summary>
        public string ParentId { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public string Path { get; set; }

        public TreeNodeDnd()
        {
            
        }

        public TreeNodeDnd(string id, string parentId, string path)
        {
            Id = id;
            ParentId = parentId;
            Path = path;
        }
    }

    public class TreeNodeDndGroup
    {
        public string Id{ get; set; }

        public List<PrimaryKeyValue> List { get; set; }

        public TreeNodeDndGroup()
        {
            
        }

        public TreeNodeDndGroup(string id, List<PrimaryKeyValue> list)
        {
            Id = id;
            List = list;
        }
    }
}